package com.ruoyi.slope.inspection.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 塌方源观察巡检对象 slope_inspection_collapse
 * 
 * @author ruoyi
 * @date 2025-09-05
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SlopeInspectionCollapse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Date startTime;

    private Date endTime;

    /** 主键ID */
    private Long id;

    /** 巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionTime;

    /** 边坡名称 */
    @Excel(name = "边坡名称")
    private String slopeName;

    /** 巡检区域 */
    @Excel(name = "巡检区域")
    private String inspectionArea;

    /** 存在问题描述 */
    @Excel(name = "存在问题描述")
    private String problemDesc;

    /** 巡检缩略图 */
    @Excel(name = "巡检缩略图")
    private String thumbnail;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inspectionTime", getInspectionTime())
            .append("slopeName", getSlopeName())
            .append("inspectionArea", getInspectionArea())
            .append("problemDesc", getProblemDesc())
            .append("thumbnail", getThumbnail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
